package com.demo.vo;

import com.demo.entity.City;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserVO")
public class UserVO {
    // 除密码外的所有信息，转cityId为City对象
    @ApiModelProperty(value = "用户id，主键")
    private Integer userId;

    @ApiModelProperty(value = "用户昵称，不同用户的昵称可以相同")
    private String nickname;

    @ApiModelProperty(value = "加密后的手机号码")
    private String phoneNum;

    @ApiModelProperty(value = "头像图片url")
    private String avatar;

    @ApiModelProperty(value = "所在城市")
    private City city;

    @ApiModelProperty(value = "行业id")
    private Integer industryId;

    @ApiModelProperty(value = "个性签名")
    private String signature;

    @ApiModelProperty(value = "男为1，女为0")
    private Integer gender;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "粉丝数")
    private Integer fansNum;

    @ApiModelProperty(value = "编写回答数")
    private Integer answerNum;
}
